package com.ict.txmsv2.utils;

import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;

/**
 * @author yoleen
 * @date 2020/12/16 12:36
 */

@Component
public  class SdfBuilder {
    private static SimpleDateFormat sdf = null;

    public SdfBuilder() {
        sdf = new SimpleDateFormat("yyyy-MM-dd");
    }

    public static SimpleDateFormat getSimpleDateFormat(){
        return sdf;
    }
}
